package com.naiterui.ehp.bs.b2c.pharmacy.bo;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class WarehouseBO implements java.io.Serializable {
    private static final long serialVersionUID = 1770679624826364772L;

    private Long id;
    /**
     * 商家编码
     */
    private String code;
    /**
     * 商家名称
     */
    @NotEmpty(message = "商家名称不能为null")
    private String name;
    /**
     * 商家联系人
     */
    @NotEmpty(message = "商家联系人不能为null")
    private String linkman;
    /**
     * 商家联系电话
     */
    @NotEmpty(message = "商家联系电话不能为null")
    private String phone;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 合作商品数
     */
    private Integer number;

    /**
     * 城市ID
     */
    @NotNull(message = "城市ID不能为null")
    private Long cityId;

    /**
     * 详细地址
     */
    @NotEmpty(message = "详细地址电话不能为null")
    private String address;

    /**
     * 状态:是否停用 0:启用。1:停用
     */
    private Integer status;

}
